//用来完成不同数据的改变的
const mutations = {
    changeTitle(state,title){
        return{
            title
        }
    },
    changeBack(state,back){
        return{
            back
        }
    },
    changeBarIndex(state,index){
        return{
            selectBarIndex:index
        }
    },
    changeBarShow(state,show){
        return{
            isTabBarShow:show
        }
    },
    changeSearchShow(state,shows){
        console.log(shows);
        return{
            isSearchShow:shows
        }
    },
    changeInputItem(state,listItem){
        console.log(listItem);
        return{
            listItem:listItem
        }
    }
}
export default mutations;